Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Renesas Electronics/R7FA6T1AD/KINT/KRCTL#0x0
KRMD=0, KREG=0
KEY Return Control Register
Detection Edge Selection (KRF0 to KRF7)
0 (0): Falling edge
1 (1): Rising edge
Usage of Key Interrupt Flags(KR0 to KR7)
0 (0): Do not use key interrupt flags
1 (1): Use key interrupt flags.
https://github.com/cmsis-svd/cmsis-svd-data